package com.tydic.order.domain.bo;

import jakarta.validation.constraints.*;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.ArrayList;

@Data
public class ModifyReceiptBo implements Serializable {
    @Serial
    private static final long serialVersionUID = -2479926281627013810L;
    /**
     *  订单ID
     */
    @NotBlank(message = "请传入订单ID")
    private String id;
    /**
     *  收货人
     */
    @NotBlank(message = "请输入收货人")
    private String receiverName;
    /**
     *  联系电话
     */
    @NotBlank(message = "请输入联系电话")
    private String receiverPhone;
    /**
     *  收货地址
     */
    @NotBlank(message = "请输入收货地址")
    private String receiverAddress;
    /**
     *  收货时间
     */
    @NotBlank(message = "请输入收货时间")
    private String receiverTime;
    /**
     *  车辆信息
     */
    @NotEmpty(message = "请输入车辆信息")
    private ArrayList<String> carNumbers;
}
